package com.zxx.libinject.utils;

import javax.annotation.processing.ProcessingEnvironment;
import javax.lang.model.element.Element;

/**
 * @author zxx on 2021/5/10
 */
public final class AnnotationUtil {

    public static String getPackageName(ProcessingEnvironment processingEnv, Element element) {
        return processingEnv.getElementUtils()
                .getPackageOf(element)
                .getQualifiedName().toString();
    }

}
